<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ taglib prefix="d" uri="http://dgg.net/jsp/jstl/core" %>
<%@ taglib prefix="fn" uri="http://java.sun.com/jsp/jstl/functions" %>
<!DOCTYPE html>
<html lang="en">
<head>
	<meta charset="UTF-8">
	<meta name="viewport" content="width=device-width,initial-scale=1,minimum-scale=1,maximum-scale=1,user-scalable=no" />
	<title>客户评估结果</title>
	<c:import url="header_evaluating.jsp"/>
</head>
<body>
<div id="app">
	<div class="assessment-content">
		<div class="assessment-bg">
			<div>
				<%--<h1 class="assessment-title"> <a href=""><i class="iconfont icon-xiangzuo-copy"></i></a>  <span style="font-size: 0.18rem;">客户评估结果</span></h1>--%>
				<div class="assessment-expression">
					<img src="${rootUrl}/static/evaluating/images/${result.icon}"/>
					<p>${result.remark}</p>
				</div>
			</div>
		</div>
		<div class="assessment-header-box">

			<div class="assessment-header">
				<ul>
					<li>${result.rate}</li>
					<li><span>费率</span></li>
				</ul>
				<ul>
					<li>${result.combined}</li>
					<li><span>合计</span></li>
				</ul>
				<ul>
					<li>${result.benchmark}</li>
					<li><span>基准</span></li>
				</ul>
			</div>
			<div class="assessment-header">
				<ul>
					<li><strong>${result.score}</strong></li>
					<li><span>客户最终得分</span></li>
				</ul>
				<ul>
					<li><strong>${result.level}</strong></li>
					<li><span>资产评估等级</span></li>
				</ul>
			</div>
		</div>
		<div class="assessment-container">
			<div class="assessment-list">
				<h3>
					<img src="${rootUrl}/static/evaluating/images/icon_decrease@2x.png"/>减分项
				</h3>
				<c:if test="${!empty result.subtractions}">
					<ul>
						<c:forEach var="key" items="${result.subtractions}" varStatus="keyIndex">
							<li>${keyIndex.index+1}.${key.subjectName}： ${key.optionsName}  <span class="icon-red">-${key.optionsScore}分</span></li>
						</c:forEach>
					</ul>
				</c:if>
				<c:if test="${empty result.subtractions}">
					<div  class="assessment-no-data">
						<p>恭喜你，没有减分项哦</p>
					</div>
				</c:if>

			</div>
			<div class="assessment-list">
				<h3>
					<img src="${rootUrl}/static/evaluating/images/icon_increase@2x.png"/><span>加分项</span>
				</h3>
				<c:if test="${!empty result.addtractions}">
					<ul>
						<c:forEach var="key" items="${result.addtractions}" varStatus="keyIndex">
							<li>${keyIndex.index+1}.${key.subjectName}：  ${key.optionsName}  <span class="icon-green">+${key.optionsScore}分</span></li>
						</c:forEach>
					</ul>
				</c:if>
				<c:if test="${empty result.addtractions}">
					<div  class="assessment-no-data">
						<p>很可惜，没有加分项哦</p>
					</div>
				</c:if>
			</div>
		</div>
	</div>
</div>
<c:import url="footer_evaluating.jsp"/>
<script>
    $(function () {
        setFontSize(375);
    })

</script>
</body>
</html>